<template>
  <div>
    <div>首页</div>
    <!-- <router-link to="/login">xx</router-link> -->
    <el-button @click="success">未登录</el-button>
  </div>
</template>

<script>
export default {
  setup() {


  },
  methods:{
    success(){
        this.$router.push('/login')
    }
  }
};
</script>

<style lang="scss" scoped></style>
